package com.xiaoshuidi.cloud.module.contract.api;

import com.xiaoshuidi.cloud.framework.common.pojo.CommonResult;
import com.xiaoshuidi.cloud.module.contract.enums.ApiConstants;
import com.xiaoshuidi.cloud.module.contract.vo.CustomerVO;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * 房屋钱包Api
 */
@FeignClient(name = ApiConstants.SERVERNAME)
@Tag(name = "RPC 服务 - 房屋账户")
public interface ContractRoomAccountApi {
    @GetMapping("/rpc-api/contract/roommate/get-all-checkin-room")
    @Operation(summary = "所有入住房间")
    CommonResult<List<CustomerVO>> getAllCompanyCheckinRoom(@RequestParam("id") Long memberId);
}
